public class Demo {
    public static void main(String[] args) {
        Integer.valueOf(1);
    Integer a = 127;
    Integer b = 127;
    Integer c = 128;
    Integer d = 128;
    System.out.println(a == b);
    System.out.println(c == d);

}
}

